<?php
namespace library\render;

use Lonicera\core\Render;
//require_once _SYS_PATH.'core/Render.php'; //使用自动加载
class PhpRender implements Render{
	//赋值变量
	private $value = array();
	public function init(){
		
	}
	
	//变量赋值
	public function assign($key,$value){
		$this->value[$key] = $value;
	}
	
	//视图显示
	
	public function display($view=''){
		extract($this->value);
		include $view;
	}
}
?>